package com.bigknow.appstore.web.base.entity;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

/**
 * Created by 李科风 on 2016-09-14.
 */
@Entity("fusion-config")
public class FusionConfig {

    @Id
    private String id;

    private String ip;

    private int webPort;

    private int rpcPort;

//    private String driverClass;
//
//    private String jdbcUrl;
//
//    private String userName;
//
//    private String password;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getWebPort() {
        return webPort;
    }

    public void setWebPort(int webPort) {
        this.webPort = webPort;
    }

    public int getRpcPort() {
        return rpcPort;
    }

    public void setRpcPort(int rpcPort) {
        this.rpcPort = rpcPort;
    }

//    public String getDriverClass() {
//        return driverClass;
//    }
//
//    public void setDriverClass(String driverClass) {
//        this.driverClass = driverClass;
//    }
//
//    public String getJdbcUrl() {
//        return jdbcUrl;
//    }
//
//    public void setJdbcUrl(String jdbcUrl) {
//        this.jdbcUrl = jdbcUrl;
//    }
//
//    public String getUserName() {
//        return userName;
//    }
//
//    public void setUserName(String userName) {
//        this.userName = userName;
//    }
//
//    public String getPassword() {
//        return password;
//    }
//
//    public void setPassword(String password) {
//        this.password = password;
//    }
}
